package com.gui.utils.paint;

import java.awt.*;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/8/19 15:10
 */
public class MyPaint extends Frame {


    public void loadFrame() {
        setBounds(200,200,500,600);
       // pack();
        setVisible(true);
    }

    @Override
    public void paint(Graphics g) {
        super.paint(g);
        g.setColor(Color.green);
        g.drawOval(100,100,100,100);
    }
}
